<%--
  Created by IntelliJ IDEA.
  User: 86198
  Date: 2022/5/27
  Time: 19:03
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h2 align="center">注册页面</h2>
<form method="post" action="User?method=registered">
    <table align="center">
        <tr>
            <td>用户名：</td>
            <td><input type="text" name="username"></td>
        </tr>
        <tr>
            <td>密码：</td>
            <td><input type="password" name="password"></td>
        </tr>
        <tr>
            <td><input type="submit" value="提交"></td>
            <td><input type="submit" value="返回" onclick="window.location.href ='${pageContext.request.contextPath}login.jsp'"></td>
        </tr>
    </table>

</form>
</body>
</html>
